/**
 * Copyright (C) 2011 dan.zheng <cmaj135@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.krosa.net.http.exception;

/**
 * <p>
 * This exception is thrown, when the http performance execution is error.
 * </p>
 * @author dan.zheng Email:cmaj135@gmail.com
 * @version 
 * <p>
 * create date: Jun 29, 2011 9:31:29 AM
 * </p>
 */
public class KrosaException extends Exception {
    /**
     * Constructs a new exception with the specified message.
     *
     * @param message
     *            the reason for the exception
     */
    public KrosaException(String message) {
        super(message);
    }

    /**
     * Constructs a new exception with the specified message and wrapped
     * exception.
     *
     * @param message
     *            the reason for the exception
     * @param ex
     *            the wrapped exception
     */
    public KrosaException(String message, Throwable cause) {
        super(message, cause);
    }
}


